package com.h3c.ptability.bo;

import cn.hutool.json.JSONObject;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author chenyifan
 * @date 2022/5/19 10:35
 * 电子签证服务间请求流转BO
 */
@Data
public class ElectronicSignBO {

    /**
     * 身份证
     */
    public static final String ID_CARD = "certNo";
    /**
     * 手机号
     */
    public static final String MOBILE = "phoneNo";
    /**
     * 姓名
     */
    public static final String WORKER_NAME = "workerName";
    /**
     * 工号
     */
    public static final String WORKER_ID = "workerId";
    /**
     * 删除的记录id
     */
    public static final String RECORD_ID = "recordId";

    public static final String CREATOR_INFO = "creatorInfo";

    public static final String USER_INFO_LIST = "userInfoList";
    /**
     * 人事范围code
     */
    public static final String PERSONNEL_RANGE_CODE = "personnelRangeCode";

    /**
     * 用户信息列表
     * {
     *     userInfoList:[{
     *          workerId：“”员工工号，
     *          certNo：“”身份证,
     *          workerName:""员工姓名,
     *          phoneNo:""员工手机号
     *          recordId:""重新签署用的recordId
     *     }]
     * }
     *
     *
     */
    private JSONObject userData;

    /**
     * 选择的场景类型
     */
    @NotNull
    private Integer sceneType;

    /**
     * 应用id
     */
    @NotBlank
    private String appId;


}
